package com.wxmp.market.zhuli.service;

import com.wxmp.market.zhuli.domain.WxZhuliBaseInfo;

import java.util.List;

public interface WxZhuliBaseInfoService {

    /**
     * （活动第一步）获取当前时间内是否有有效活动
     *
     * @return
     * @Config(1、日期 2、配置 3、状态)
     * @Content
     */
    public List<WxZhuliBaseInfo> getAvailableActivityByConfig();

    /**
     * 活动参与
     *
     * @return
     */
    public String scanActivityByQRCode();

    public List<WxZhuliBaseInfo> getActivityListByPage(WxZhuliBaseInfo searchEntity);

    public WxZhuliBaseInfo selectByBaseCode(String baseCode);

    public WxZhuliBaseInfo selectByQRCode(String QRCode);

    public void add(WxZhuliBaseInfo baseInfo);

    public void update(WxZhuliBaseInfo baseInfo);
}
